ScaleAnimation
declare class ScaleAnimation {}
ScaleAnimation
Instance Method
constructor
Signature
declare class ScaleAnimation {
constructor(fromX: number, toX: number, fromY: number, toY: number)
}
Description
Constructor to use when building a ScaleAnimation from code
constructor
Signature
declare class ScaleAnimation {
constructor(fromX: number, toX: number, fromY: number, toY: number, pivotX: number, pivotY: number)
}
Description
Constructor to use when building a ScaleAnimation from code
constructor
Signature
declare class ScaleAnimation {
constructor(fromX: number, toX: number, fromY: number, toY: number, pivotXType: number, pivotXValue: number, pivotYTType: number, pivotYValue: number)
}
Description
Constructor to use when building a ScaleAnimation from code
applyTransformation
Signature
declare class ScaleAnimation {
applyTransformation(interpolatedTime: number, t: Transformation): void
}
Description
Helper for getTransformation.
initialize
Signature
declare class ScaleAnimation {
initialize(width: number, height: number, parentWidth: number, parentHeight: number): void
}
Description
Initialize this animation with the dimensions of the object being animated as well as the objects parents.